<?php
/**
 * Created by novebeta.
 * Date: 12/4/12
 * Time: 10:01 PM
 */
Yii::import('ext.portlet.XPortlet');
class linkUrl extends XPortlet
{

    protected function renderContent()
    { 
       /*link*/ 
       $criteria_link=new CDbCriteria();
       $criteria_link->addCondition('id="1"');
	   $models_link=Link::model()->findAll($criteria_link);       
       $this->render('linkUrl',array(    
       'model_link'=>$models_link
        
		));
      
    }
}

